Skip to main content

EventFeed

Interfaces

EventFeedProps

Properties

FeedObjectProps?

optional FeedObjectProps: FeedObjectProps

Props to spread to single feed object

Default
empty object
Source

EventFeed/EventFeed.tsx:75

FeedProps?

optional FeedProps: Omit<FeedProps, "endpoint" | "ItemComponent" | "widgets" | "itemPropsGenerator" | "itemIdGenerator" | "ItemSkeleton" | "ItemSkeletonProps" | "FeedSidebarProps">

Props to spread to feed component

Default
{}
Source

EventFeed/EventFeed.tsx:87

FeedSidebarProps?

optional FeedSidebarProps: StickyBoxProps

Props to spread to single feed object

Default
{top: 0, bottomBoundary: `#${id}`}
Source

EventFeed/EventFeed.tsx:81

className?

optional className: string

Overrides or extends the styles applied to the component.

Default
null
Source

EventFeed/EventFeed.tsx:51

event?

optional event: SCEventType

Event Object

Default
null
Source

EventFeed/EventFeed.tsx:57

eventId?

optional eventId: number

Id of the event for filter the feed

Default
null
Source

EventFeed/EventFeed.tsx:63

id?

optional id: string

Id of the feed object

Default
'feed'
Source

EventFeed/EventFeed.tsx:45

widgets?

optional widgets: SCFeedWidgetType[]

Widgets to be rendered into the feed

Default
[EventInfoWidget]
Source

EventFeed/EventFeed.tsx:69

Functions

EventFeed()

EventFeed(inProps): JSX.Element

API documentation for the Community-JS Group Feed Template. Learn about the available props and the CSS API.

This component renders a specific event's feed.

Import

import {EventFeed} from '@selfcommunity/react-templates';

Component Name

The name SCEventFeedTemplate can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCEventFeedTemplate-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsEventFeedProps

Returns

JSX.Element

Source

EventFeed/EventFeed.tsx:142


EventFeedSkeleton()

EventFeedSkeleton(): JSX.Element

API documentation for the Community-JS Group Feed Skeleton Template. Learn about the available props and the CSS API.

Import

import {GroupFeedSkeleton} from '@selfcommunity/react-templates';

Component Name

The name SCGroupFeedTemplate-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCGroupFeedTemplate-skeleton-rootStyles applied to the root element.

Returns

JSX.Element

Source

EventFeed/Skeleton.tsx:35